package sicnu.cs.aps.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import sicnu.cs.aps.domain.entity.ActivityTeam;

import java.util.List;

/**
 * @author chengke
 * @version 1.0
 * @description 创建活动信息mapper
 * @date 2022/5/27 11:43
 */
public interface ActivitySignMapper extends BaseMapper<ActivityTeam> {

    List<Long> selectUserIdByActivityId(Long ActivityId);

    List<Long> selectTeamIdByActivityId(Long activityId);

    Long selectTeamIdByUserIdAndActivityId(@Param("userId") Long userId, @Param("activityId") Long activityId);

    Long selectUserIdByTeamId(Long teamId);
}
